<%-- 
    Document   : login
    Created on : 18-oct-2012, 21:02:16
    Author     : alumnoFI
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>

<link href="estilos.css" rel="stylesheet" type="text/css">

<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Login</title>
        
    </head>
    <body>
        <h2>Login</h2>
        <html:form method="post" action="login.do">
            <logic:messagesPresent>
			<html:messages id="error">
				<LI><font color="red"><bean:write name="error"/></font></LI>
			</html:messages>
		</logic:messagesPresent>   
            <html:text name="loginActionForm" property="documento"/><br> <br>
            <html:password name="loginActionForm" property="pin"/>
            <br><br>
            <html:submit value="Login"/>
            
        </html:form>
    </body>
</html>

